package cn.changeforyou.web.cloud.webBase.platform;

/**
 * 平台的字符串工具
 */
public class PlatformStringUtils {

    public static String getStringAdaptPlatform(PlatformEnum targetPlatform, String words) {
        if (targetPlatform == PlatformEnum.CSharp) {
            return words.replace("\n", "\r\n");
        }
        return words;
    }
}
